package ooday02;
/** 测试类 */
public class Test {
    public static void main(String[] args) {
        Dog xg = new Dog("小狗",2,"白","骨头");
        xg.eat();
        xg.drink();
        xg.lookHome();

        Chick xj = new Chick("小鸡",5,"彩虹","小米");
        xj.eat();
        xj.drink();
        xj.layEgg();

        Fish xy = new Fish("小鱼",6,"金");
        xy.eat();
        xy.drink();
    }
}
